package src.lab02.text13;

/**
 * Created by 12442 on 2017/10/25.
 */
public class Gymnastics extends ComputerAverage {
    @Override
    double average() {
        double sum=0;
        for(int i=1;i<=3;i++){
            sum+=score[i];
        }
        return sum/3;
    }
}
